/*
 Navicat Premium Data Transfer

 Source Server         : mac_mysql_5.7
 Source Server Type    : MySQL
 Source Server Version : 50729
 Source Host           : localhost:3306
 Source Schema         : nacos

 Target Server Type    : MySQL
 Target Server Version : 50729
 File Encoding         : 65001

 Date: 18/07/2020 19:07:42
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for config_info
-- ----------------------------
DROP TABLE IF EXISTS `config_info`;
CREATE TABLE `config_info` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(255) COLLATE utf8_bin DEFAULT NULL,
  `content` longtext COLLATE utf8_bin NOT NULL COMMENT 'content',
  `md5` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT 'md5',
  `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间',
  `src_user` text COLLATE utf8_bin COMMENT 'source user',
  `src_ip` varchar(20) COLLATE utf8_bin DEFAULT NULL COMMENT 'source ip',
  `app_name` varchar(128) COLLATE utf8_bin DEFAULT NULL,
  `tenant_id` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT '租户字段',
  `c_desc` varchar(256) COLLATE utf8_bin DEFAULT NULL,
  `c_use` varchar(64) COLLATE utf8_bin DEFAULT NULL,
  `effect` varchar(64) COLLATE utf8_bin DEFAULT NULL,
  `type` varchar(64) COLLATE utf8_bin DEFAULT NULL,
  `c_schema` text COLLATE utf8_bin,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uk_configinfo_datagrouptenant` (`data_id`,`group_id`,`tenant_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=74 DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC COMMENT='config_info';

-- ----------------------------
-- Records of config_info
-- ----------------------------
BEGIN;
INSERT INTO `config_info` VALUES (26, 'product-dev.yml', 'DEFAULT_GROUP', 'version: product-dev-v1.0', 'df363088f21ae2025a2af9f864faf093', '2020-07-13 14:58:11', '2020-07-13 16:46:33', NULL, '192.168.0.121', '', '', '商品模块-开发环境-配置文件', 'null', 'null', 'yaml', 'null');
INSERT INTO `config_info` VALUES (28, 'product-test.yml', 'DEFAULT_GROUP', 'version: product-test-v1.0', '53e7148c4b512621a5ff40931f256976', '2020-07-13 15:01:59', '2020-07-13 15:01:59', NULL, '192.168.0.121', '', '', '商品模块-测试环境配置', NULL, NULL, 'yaml', NULL);
INSERT INTO `config_info` VALUES (30, 'user-dev.yml', 'DEFAULT_GROUP', 'version: user-dev-v2.0\n\nauthor:\n    username: \'wys\'', '12412f436b51aca47d58f4cbdcec0ba4', '2020-07-13 15:20:07', '2020-07-16 23:52:28', NULL, '0:0:0:0:0:0:0:1', '', '', '用户模块-开发环境-配置', 'null', 'null', 'yaml', 'null');
INSERT INTO `config_info` VALUES (35, 'gateway-dev.yml', 'DEFAULT_GROUP', 'spring:\n  cloud:\n    gateway:\n      routes:\n        # 用户模块\n        - id: user_route\n          uri: lb://user\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-user/**\n        # 商品模块\n        - id: product_route\n          uri: lb://product\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-product/**\n        # 订单模块\n        - id: order_route\n          uri: lb://order\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-order/**\n    # 阿里巴巴哨兵\n    sentinel:\n      transport:\n        dashboard: localhost:11000\n        sentinel:\n      # 取消sentinel控制台懒加载\n      eager: true\n      scg:\n        fallback:\n          mode: response\n          response-status: 426\n          response-body: 接口被sentinel服务限流啦~~（若不满意，请到sentinel控制台修改接口流控规则)', '2649492f20f502651eacf40609bd3501', '2020-07-13 16:40:09', '2020-07-18 17:29:22', NULL, '192.168.31.180', '', '', '网关模块-测试环境-配置', 'null', 'null', 'yaml', 'null');
INSERT INTO `config_info` VALUES (43, 'order-dev.yml', 'DEFAULT_GROUP', 'version: order-dev-v1.0', 'bf81d980c5b584c444783002c5badba8', '2020-07-16 16:24:03', '2020-07-16 16:24:03', NULL, '0:0:0:0:0:0:0:1', '', '', '订单模块-测试-配置文件', NULL, NULL, 'yaml', NULL);
INSERT INTO `config_info` VALUES (48, 'application-dev.yml', 'DEFAULT_GROUP', 'scope: public111\r\n\r\nspring:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/cup-cloud\r\n    username: root\r\n    password: root\r\n  security:\r\n    user:\r\n      name: admin\r\n      password: admin\r\n\r\n\r\n# feign开启setinel熔断降级\r\nfeign:\r\n  sentinel:\r\n    enabled: true\r\n\r\n# ribbon超时时间,分别是设置的socketTimeout以及connectTimeout，创建请求的时候，会读取指定配置，没有的话，就取默认的配置，设置超时时间\r\nribbon:\r\n  ReadTimeout: 10000\r\n  ConnectTimeout: 10000\r\n\r\n\r\n# 暴露监控端点\r\nmanagement:\r\n  endpoints:\r\n    web:\r\n      exposure:\r\n        include: \'*\'\r\n\r\n\r\n\r\n# mybaits-plus配置\r\nmybatis-plus:\r\n  mapper-locations: classpath*:/mapper/*Mapper.xml\r\n  global-config:\r\n    banner: false\r\n    db-config:\r\n      id-type: auto\r\n      table-underline: true\r\n      logic-delete-value: 1\r\n      logic-not-delete-value: 0\r\n  configuration:\r\n    map-underscore-to-camel-case: true\r\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl', '8d3ddcf58215b246981cc9a530ba2e23', '2020-07-16 23:49:47', '2020-07-18 17:14:06', NULL, '192.168.31.180', '', '', '公共配置文件\n', 'null', 'null', 'yaml', 'null');
INSERT INTO `config_info` VALUES (57, 'auth-dev.yml', 'DEFAULT_GROUP', 'spring:\r\n  redis:\r\n    host: localhost\r\n    port: 6379\r\n    password: ', 'de6488646155b722fc10c1e3a5f739bc', '2020-07-17 15:10:44', '2020-07-17 22:11:24', NULL, '0:0:0:0:0:0:0:1', '', '', '授权模块-测试-配置文件', 'null', 'null', 'yaml', 'null');
COMMIT;

-- ----------------------------
-- Table structure for config_info_aggr
-- ----------------------------
DROP TABLE IF EXISTS `config_info_aggr`;
CREATE TABLE `config_info_aggr` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'group_id',
  `datum_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'datum_id',
  `content` longtext COLLATE utf8_bin NOT NULL COMMENT '内容',
  `gmt_modified` datetime NOT NULL COMMENT '修改时间',
  `app_name` varchar(128) COLLATE utf8_bin DEFAULT NULL,
  `tenant_id` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT '租户字段',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uk_configinfoaggr_datagrouptenantdatum` (`data_id`,`group_id`,`tenant_id`,`datum_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC COMMENT='增加租户字段';

-- ----------------------------
-- Records of config_info_aggr
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for config_info_beta
-- ----------------------------
DROP TABLE IF EXISTS `config_info_beta`;
CREATE TABLE `config_info_beta` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) COLLATE utf8_bin NOT NULL COMMENT 'group_id',
  `app_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT 'app_name',
  `content` longtext COLLATE utf8_bin NOT NULL COMMENT 'content',
  `beta_ips` varchar(1024) COLLATE utf8_bin DEFAULT NULL COMMENT 'betaIps',
  `md5` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT 'md5',
  `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间',
  `src_user` text COLLATE utf8_bin COMMENT 'source user',
  `src_ip` varchar(20) COLLATE utf8_bin DEFAULT NULL COMMENT 'source ip',
  `tenant_id` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT '租户字段',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uk_configinfobeta_datagrouptenant` (`data_id`,`group_id`,`tenant_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC COMMENT='config_info_beta';

-- ----------------------------
-- Records of config_info_beta
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for config_info_tag
-- ----------------------------
DROP TABLE IF EXISTS `config_info_tag`;
CREATE TABLE `config_info_tag` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `data_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) COLLATE utf8_bin NOT NULL COMMENT 'group_id',
  `tenant_id` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT 'tenant_id',
  `tag_id` varchar(128) COLLATE utf8_bin NOT NULL COMMENT 'tag_id',
  `app_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT 'app_name',
  `content` longtext COLLATE utf8_bin NOT NULL COMMENT 'content',
  `md5` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT 'md5',
  `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间',
  `src_user` text COLLATE utf8_bin COMMENT 'source user',
  `src_ip` varchar(20) COLLATE utf8_bin DEFAULT NULL COMMENT 'source ip',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uk_configinfotag_datagrouptenanttag` (`data_id`,`group_id`,`tenant_id`,`tag_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC COMMENT='config_info_tag';

-- ----------------------------
-- Records of config_info_tag
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for config_tags_relation
-- ----------------------------
DROP TABLE IF EXISTS `config_tags_relation`;
CREATE TABLE `config_tags_relation` (
  `id` bigint(20) NOT NULL COMMENT 'id',
  `tag_name` varchar(128) COLLATE utf8_bin NOT NULL COMMENT 'tag_name',
  `tag_type` varchar(64) COLLATE utf8_bin DEFAULT NULL COMMENT 'tag_type',
  `data_id` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'data_id',
  `group_id` varchar(128) COLLATE utf8_bin NOT NULL COMMENT 'group_id',
  `tenant_id` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT 'tenant_id',
  `nid` bigint(20) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`nid`) USING BTREE,
  UNIQUE KEY `uk_configtagrelation_configidtag` (`id`,`tag_name`,`tag_type`) USING BTREE,
  KEY `idx_tenant_id` (`tenant_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC COMMENT='config_tag_relation';

-- ----------------------------
-- Records of config_tags_relation
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for group_capacity
-- ----------------------------
DROP TABLE IF EXISTS `group_capacity`;
CREATE TABLE `group_capacity` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `group_id` varchar(128) COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'Group ID，空字符表示整个集群',
  `quota` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '配额，0表示使用默认值',
  `usage` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '使用量',
  `max_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '单个配置大小上限，单位为字节，0表示使用默认值',
  `max_aggr_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '聚合子配置最大个数，，0表示使用默认值',
  `max_aggr_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '单个聚合数据的子配置大小上限，单位为字节，0表示使用默认值',
  `max_history_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最大变更历史数量',
  `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uk_group_id` (`group_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC COMMENT='集群、各Group容量信息表';

-- ----------------------------
-- Records of group_capacity
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for his_config_info
-- ----------------------------
DROP TABLE IF EXISTS `his_config_info`;
CREATE TABLE `his_config_info` (
  `id` bigint(20) unsigned NOT NULL,
  `nid` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `data_id` varchar(255) COLLATE utf8_bin NOT NULL,
  `group_id` varchar(128) COLLATE utf8_bin NOT NULL,
  `app_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT 'app_name',
  `content` longtext COLLATE utf8_bin NOT NULL,
  `md5` varchar(32) COLLATE utf8_bin DEFAULT NULL,
  `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00',
  `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00',
  `src_user` text COLLATE utf8_bin,
  `src_ip` varchar(20) COLLATE utf8_bin DEFAULT NULL,
  `op_type` char(10) COLLATE utf8_bin DEFAULT NULL,
  `tenant_id` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT '租户字段',
  PRIMARY KEY (`nid`) USING BTREE,
  KEY `idx_gmt_create` (`gmt_create`) USING BTREE,
  KEY `idx_gmt_modified` (`gmt_modified`) USING BTREE,
  KEY `idx_did` (`data_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC COMMENT='多租户改造';

-- ----------------------------
-- Records of his_config_info
-- ----------------------------
BEGIN;
INSERT INTO `his_config_info` VALUES (0, 1, 'product-dev.yml', 'DEFAULT_GROUP', '', 'version: product-1.0', '0bdb6140b20a93b13ca67240dc713a85', '2010-05-05 00:00:00', '2020-07-13 14:44:10', NULL, '192.168.0.121', 'I', '');
INSERT INTO `his_config_info` VALUES (22, 2, 'product-dev.yml', 'DEFAULT_GROUP', '', 'version: product-1.0', '0bdb6140b20a93b13ca67240dc713a85', '2010-05-05 00:00:00', '2020-07-13 14:51:33', NULL, '192.168.0.121', 'U', '');
INSERT INTO `his_config_info` VALUES (22, 3, 'product-dev.yml', 'DEFAULT_GROUP', '', 'version: product-2.0', '8779608482809bd6666e6375ec36bf42', '2010-05-05 00:00:00', '2020-07-13 14:52:39', NULL, '192.168.0.121', 'D', '');
INSERT INTO `his_config_info` VALUES (0, 4, 'product-dev.yaml', 'DEFAULT_GROUP', '', 'version: product-v2.0', '14600910e3055d36e437aec94a32f90f', '2010-05-05 00:00:00', '2020-07-13 14:53:08', NULL, '192.168.0.121', 'I', '');
INSERT INTO `his_config_info` VALUES (24, 5, 'product-dev.yaml', 'DEFAULT_GROUP', '', 'version: product-v2.0', '14600910e3055d36e437aec94a32f90f', '2010-05-05 00:00:00', '2020-07-13 14:53:54', NULL, '192.168.0.121', 'U', '');
INSERT INTO `his_config_info` VALUES (24, 6, 'product-dev.yaml', 'DEFAULT_GROUP', '', 'version: product-v3.0', '2a570eb8fccdbe2c4228922791da95b5', '2010-05-05 00:00:00', '2020-07-13 14:57:23', NULL, '192.168.0.121', 'D', '');
INSERT INTO `his_config_info` VALUES (0, 7, 'product-dev.yml', 'DEFAULT_GROUP', '', 'version: product-v1.0', 'fffbb8542b33498ca4efe4b42f7f2970', '2010-05-05 00:00:00', '2020-07-13 14:58:11', NULL, '192.168.0.121', 'I', '');
INSERT INTO `his_config_info` VALUES (26, 8, 'product-dev.yml', 'DEFAULT_GROUP', '', 'version: product-v1.0', 'fffbb8542b33498ca4efe4b42f7f2970', '2010-05-05 00:00:00', '2020-07-13 14:59:11', NULL, '192.168.0.121', 'U', '');
INSERT INTO `his_config_info` VALUES (0, 9, 'product-test.yml', 'DEFAULT_GROUP', '', 'version: product-test-v1.0', '53e7148c4b512621a5ff40931f256976', '2010-05-05 00:00:00', '2020-07-13 15:01:59', NULL, '192.168.0.121', 'I', '');
INSERT INTO `his_config_info` VALUES (26, 10, 'product-dev.yml', 'DEFAULT_GROUP', '', 'version: product-v3.0', '2a570eb8fccdbe2c4228922791da95b5', '2010-05-05 00:00:00', '2020-07-13 15:03:11', NULL, '192.168.0.121', 'U', '');
INSERT INTO `his_config_info` VALUES (0, 11, 'user-dev.yml', 'DEFAULT_GROUP', '', 'version: user-dev-v1.0', '93812bb013b6181875ab7e7120d55598', '2010-05-05 00:00:00', '2020-07-13 15:20:07', NULL, '192.168.0.121', 'I', '');
INSERT INTO `his_config_info` VALUES (30, 12, 'user-dev.yml', 'DEFAULT_GROUP', '', 'version: user-dev-v1.0', '93812bb013b6181875ab7e7120d55598', '2010-05-05 00:00:00', '2020-07-13 15:27:40', NULL, '192.168.0.121', 'U', '');
INSERT INTO `his_config_info` VALUES (30, 13, 'user-dev.yml', 'DEFAULT_GROUP', '', 'version: user-dev-v2.0', 'bafcb6038d47e834c3fda5c079f824b6', '2010-05-05 00:00:00', '2020-07-13 15:31:55', NULL, '192.168.0.121', 'U', '');
INSERT INTO `his_config_info` VALUES (30, 14, 'user-dev.yml', 'DEFAULT_GROUP', '', 'version: user-dev-v2.0\n\nauthor:\n    username: \'wys\'', '12412f436b51aca47d58f4cbdcec0ba4', '2010-05-05 00:00:00', '2020-07-13 15:35:19', NULL, '192.168.0.121', 'U', '');
INSERT INTO `his_config_info` VALUES (30, 15, 'user-dev.yml', 'DEFAULT_GROUP', '', 'version: user-dev-v1.0\n\nauthor:\n    username: \'wys\'', '2196b66adc7782c970426542541a4036', '2010-05-05 00:00:00', '2020-07-13 16:00:32', NULL, '192.168.0.121', 'U', '');
INSERT INTO `his_config_info` VALUES (0, 16, 'gateway-dev.yml', 'DEFAULT_GROUP', '', 'spring:\n  cloud:\n    gateway:\n      routes:\n        # 用户模块\n        - id: user_route\n          uri: lb://user\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-user/**\n        # 商品模块\n        - id: product_route\n          uri: lb://product\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-product/**\n    # 阿里巴巴哨兵\n    sentinel:\n      transport:\n        dashboard: localhost:11000\n      scg:\n        fallback:\n          mode: response\n          response-status: 426\n          response-body: sentinel 服务降级', '1cb7ad6ed4e742dfc66d643e52ccd792', '2010-05-05 00:00:00', '2020-07-13 16:40:09', NULL, '192.168.0.121', 'I', '');
INSERT INTO `his_config_info` VALUES (35, 17, 'gateway-dev.yml', 'DEFAULT_GROUP', '', 'spring:\n  cloud:\n    gateway:\n      routes:\n        # 用户模块\n        - id: user_route\n          uri: lb://user\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-user/**\n        # 商品模块\n        - id: product_route\n          uri: lb://product\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-product/**\n    # 阿里巴巴哨兵\n    sentinel:\n      transport:\n        dashboard: localhost:11000\n      scg:\n        fallback:\n          mode: response\n          response-status: 426\n          response-body: sentinel 服务降级', '1cb7ad6ed4e742dfc66d643e52ccd792', '2010-05-05 00:00:00', '2020-07-13 16:41:37', NULL, '192.168.0.121', 'U', '');
INSERT INTO `his_config_info` VALUES (35, 18, 'gateway-dev.yml', 'DEFAULT_GROUP', '', 'spring:\n  cloud:\n    gateway:\n      routes:\n        # 用户模块\n        - id: user_route\n          uri: lb://user\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-user/**\n        # 商品模块\n        - id: product_route\n          uri: lb://product\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-product11/**\n    # 阿里巴巴哨兵\n    sentinel:\n      transport:\n        dashboard: localhost:11000\n      scg:\n        fallback:\n          mode: response\n          response-status: 426\n          response-body: sentinel 服务降级', '12b670fdc504cc03392d8471370145da', '2010-05-05 00:00:00', '2020-07-13 16:42:06', NULL, '192.168.0.121', 'U', '');
INSERT INTO `his_config_info` VALUES (30, 19, 'user-dev.yml', 'DEFAULT_GROUP', '', 'version: user-dev-v2.0\n\nauthor:\n    username: \'wys\'', '12412f436b51aca47d58f4cbdcec0ba4', '2010-05-05 00:00:00', '2020-07-13 16:43:58', NULL, '192.168.0.121', 'U', '');
INSERT INTO `his_config_info` VALUES (26, 20, 'product-dev.yml', 'DEFAULT_GROUP', '', 'version: product-dev-v3.0', 'ef17712b3624c8db2922aec478d53f4e', '2010-05-05 00:00:00', '2020-07-13 16:45:10', NULL, '192.168.0.121', 'U', '');
INSERT INTO `his_config_info` VALUES (26, 21, 'product-dev.yml', 'DEFAULT_GROUP', '', 'version: product-dev-v22.0', '09564892d13ba6af6d1bf2355f8ca971', '2010-05-05 00:00:00', '2020-07-13 16:46:00', NULL, '192.168.0.121', 'U', '');
INSERT INTO `his_config_info` VALUES (26, 22, 'product-dev.yml', 'DEFAULT_GROUP', '', 'version: product-dev-v23.0', 'd178eb4692284b8a8fbae364da474874', '2010-05-05 00:00:00', '2020-07-13 16:46:33', NULL, '192.168.0.121', 'U', '');
INSERT INTO `his_config_info` VALUES (30, 23, 'user-dev.yml', 'DEFAULT_GROUP', '', 'version: user-dev-v3.0\n\nauthor:\n    username: \'wys\'', '9e5e909260459ec14ef6faf5dcca70cc', '2010-05-05 00:00:00', '2020-07-14 00:23:03', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (0, 24, 'order-dev.yml', 'DEFAULT_GROUP', '', 'version: order-dev-v1.0', 'bf81d980c5b584c444783002c5badba8', '2010-05-05 00:00:00', '2020-07-16 16:24:03', NULL, '0:0:0:0:0:0:0:1', 'I', '');
INSERT INTO `his_config_info` VALUES (35, 25, 'gateway-dev.yml', 'DEFAULT_GROUP', '', 'spring:\n  cloud:\n    gateway:\n      routes:\n        # 用户模块\n        - id: user_route\n          uri: lb://user\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-user/**\n        # 商品模块\n        - id: product_route\n          uri: lb://product\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-product/**\n    # 阿里巴巴哨兵\n    sentinel:\n      transport:\n        dashboard: localhost:11000\n      scg:\n        fallback:\n          mode: response\n          response-status: 426\n          response-body: sentinel 服务降级', '1cb7ad6ed4e742dfc66d643e52ccd792', '2010-05-05 00:00:00', '2020-07-16 16:32:16', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (0, 26, 'application.yml', 'DEFAULT_GROUP', '', 'public: yes', '7753900269e2eed9c1b30b9b26c482ca', '2010-05-05 00:00:00', '2020-07-16 23:43:06', NULL, '0:0:0:0:0:0:0:1', 'I', '');
INSERT INTO `his_config_info` VALUES (45, 27, 'application.yml', 'DEFAULT_GROUP', '', 'public: yes', '7753900269e2eed9c1b30b9b26c482ca', '2010-05-05 00:00:00', '2020-07-16 23:44:39', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (45, 28, 'application.yml', 'DEFAULT_GROUP', '', 'scope: public', '522ef638a14260017afd6f2a63b3f096', '2010-05-05 00:00:00', '2020-07-16 23:46:28', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (45, 29, 'application.yml', 'DEFAULT_GROUP', '', 'scope: 123', 'dcb928ca625c10764ba8702d2f11bd9c', '2010-05-05 00:00:00', '2020-07-16 23:49:24', NULL, '0:0:0:0:0:0:0:1', 'D', '');
INSERT INTO `his_config_info` VALUES (0, 30, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public', '522ef638a14260017afd6f2a63b3f096', '2010-05-05 00:00:00', '2020-07-16 23:49:47', NULL, '0:0:0:0:0:0:0:1', 'I', '');
INSERT INTO `his_config_info` VALUES (30, 31, 'user-dev.yml', 'DEFAULT_GROUP', '', 'version: user-dev-v1.0\n\nauthor:\n    username: \'wys\'', '2196b66adc7782c970426542541a4036', '2010-05-05 00:00:00', '2020-07-16 23:52:28', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 32, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public', '522ef638a14260017afd6f2a63b3f096', '2010-05-05 00:00:00', '2020-07-16 23:52:55', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 33, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111', 'e26f722efffc0ebd79d934b38a6fa08d', '2010-05-05 00:00:00', '2020-07-16 23:53:54', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 34, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\n\r\nfeign:\r\n  client:\r\n    config:\r\n      default:\r\n        requestInterceptors:\r\n          - com.lvcoding.cloud.common.feign.FeignConfig', 'e267ee945fdb29bade0efb4a1d733d24', '2010-05-05 00:00:00', '2020-07-16 23:58:25', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 35, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\n\r\nfeign:\r\n  client:\r\n    config:\r\n      default:\r\n        requestInterceptors:\r\n          - FeignRequestInterceptor', '414fe3b71b1edb36b20dde8fc17a5b8e', '2010-05-05 00:00:00', '2020-07-17 00:21:49', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 36, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\n\r\nfeign:\r\n  client:\r\n    config:\r\n      default:\r\n        requestInterceptors:\r\n          - FeignRequestInterceptor\r\n\r\nsecurity:\r\n  user:\r\n    name: admin\r\n    password: admin', '982c5db1f906803d2a92b0d8d9dcfc35', '2010-05-05 00:00:00', '2020-07-17 00:24:10', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 37, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\n\r\nfeign:\r\n  client:\r\n    config:\r\n      default:\r\n        requestInterceptors:\r\n          - FeignRequestInterceptor\r\n\r\nspring:\r\n  security:\r\n    user:\r\n      name: admin\r\n      password: admin', '7732031cdd2ccc4a2758617f41cd83ce', '2010-05-05 00:00:00', '2020-07-17 13:38:51', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 38, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\n\r\n# feign:\r\n#   client:\r\n#     config:\r\n#       default:\r\n#         requestInterceptors:\r\n#           - FeignRequestInterceptor\r\n\r\nspring:\r\n  security:\r\n    user:\r\n      name: admin\r\n      password: admin', 'bf78e964f1afb02fc6c11de5907a12fa', '2010-05-05 00:00:00', '2020-07-17 13:45:43', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (0, 39, 'auth-dev.yml', 'DEFAULT_GROUP', '', 'sping:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/oauth2\r\n    username: root\r\n    password: root', 'c72ba60dea692e3749badbb5dfa2d354', '2010-05-05 00:00:00', '2020-07-17 15:10:44', NULL, '0:0:0:0:0:0:0:1', 'I', '');
INSERT INTO `his_config_info` VALUES (57, 40, 'auth-dev.yml', 'DEFAULT_GROUP', '', 'sping:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/oauth2\r\n    username: root\r\n    password: root', 'c72ba60dea692e3749badbb5dfa2d354', '2010-05-05 00:00:00', '2020-07-17 15:15:26', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (57, 41, 'auth-dev.yml', 'DEFAULT_GROUP', '', 'spring:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/oauth2\r\n    username: root\r\n    password: root', 'b6430f0e07b1ed9e19808a41af9f0aa5', '2010-05-05 00:00:00', '2020-07-17 15:21:25', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 42, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\nspring:\r\n  security:\r\n    user:\r\n      name: admin\r\n      password: admin', '63cfdc634bd9d2c52db43ac37c6db712', '2010-05-05 00:00:00', '2020-07-17 22:11:07', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (57, 43, 'auth-dev.yml', 'DEFAULT_GROUP', '', 'spring:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/oauth2\r\n    username: root\r\n    password: root\r\n  redis:\r\n    host: localhost\r\n    port: 6379\r\n    password: ', '81f47cd0d508d96739e3fe96f3d040a7', '2010-05-05 00:00:00', '2020-07-17 22:11:24', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 44, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\nspring:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/cup-cloud\r\n    username: root\r\n    password: root\r\n  security:\r\n    user:\r\n      name: admin\r\n      password: admin', '7f625ba3dc419b51347623f1e2e01246', '2010-05-05 00:00:00', '2020-07-17 22:14:54', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 45, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\nspring:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/cup-cloud\r\n    username: root\r\n    password: root\r\n  security:\r\n    user:\r\n      name: admin\r\n      password: admin\r\n\r\n\r\n\r\n# mybaits-plus配置\r\nmybatis-plus:\r\n  mapper-locations: classpath*:/mapper/*Mapper.xml\r\n  global-config:\r\n    banner: false\r\n    db-config:\r\n      id-type: auto\r\n      table-underline: true\r\n      logic-delete-value: 1\r\n      logic-not-delete-value: 0\r\n  configuration:\r\n    map-underscore-to-camel-case: true\r\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl', 'bf4c5a0f44fac144b91e6805d73cbe63', '2010-05-05 00:00:00', '2020-07-18 01:39:07', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 46, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\nspring:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/cup-cloud\r\n    username: root\r\n    password: root\r\n  security:\r\n    user:\r\n      name: admin\r\n      password: admin\r\n  main:\r\n    allow-bean-definition-overriding: true\r\n\r\n\r\n# 暴露监控端点\r\nmanagement:\r\n  endpoints:\r\n    web:\r\n      exposure:\r\n        include: \'*\'\r\n\r\n\r\n\r\n# mybaits-plus配置\r\nmybatis-plus:\r\n  mapper-locations: classpath*:/mapper/*Mapper.xml\r\n  global-config:\r\n    banner: false\r\n    db-config:\r\n      id-type: auto\r\n      table-underline: true\r\n      logic-delete-value: 1\r\n      logic-not-delete-value: 0\r\n  configuration:\r\n    map-underscore-to-camel-case: true\r\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl', 'c4fcdcda082cf480dccda42715f61fa6', '2010-05-05 00:00:00', '2020-07-18 01:40:13', NULL, '0:0:0:0:0:0:0:1', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 47, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\nspring:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/cup-cloud\r\n    username: root\r\n    password: root\r\n  security:\r\n    user:\r\n      name: admin\r\n      password: admin\r\n  main:\r\n    allow-bean-definition-overriding: true\r\n\r\n\r\n# 暴露监控端点\r\nmanagement:\r\n  endpoints:\r\n    web:\r\n      exposure:\r\n        include: \'*\'\r\n\r\n\r\n\r\n# mybaits-plus配置\r\nmybatis-plus:\r\n  mapper-locations: classpath*:/mapper/*Mapper.xml\r\n  global-config:\r\n    banner: false\r\n    db-config:\r\n      id-type: auto\r\n      table-underline: true\r\n      logic-delete-value: 1\r\n      logic-not-delete-value: 0\r\n  configuration:\r\n    map-underscore-to-camel-case: true\r\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl', 'c4fcdcda082cf480dccda42715f61fa6', '2010-05-05 00:00:00', '2020-07-18 15:34:28', NULL, '192.168.31.180', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 48, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\nspring:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/cup-cloud\r\n    username: root\r\n    password: root\r\n  security:\r\n    user:\r\n      name: admin\r\n      password: admin\r\n  main:\r\n    allow-bean-definition-overriding: true\r\n\r\n\r\n# 暴露监控端点\r\nmanagement:\r\n  endpoints:\r\n    web:\r\n      exposure:\r\n        include: \'*\'\r\n\r\n\r\n\r\n# mybaits-plus配置\r\nmybatis-plus:\r\n  mapper-locations: classpath*:/mapper/*Mapper.xml\r\n  global-config:\r\n    banner: false\r\n    db-config:\r\n      id-type: auto\r\n      table-underline: true\r\n      logic-delete-value: 1\r\n      logic-not-delete-value: 0\r\n  configuration:\r\n    map-underscore-to-camel-case: true\r\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl', 'c4fcdcda082cf480dccda42715f61fa6', '2010-05-05 00:00:00', '2020-07-18 16:36:42', NULL, '192.168.31.180', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 49, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\nspring:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/cup-cloud\r\n    username: root\r\n    password: root\r\n  security:\r\n    user:\r\n      name: admin\r\n      password: admin\r\n  main:\r\n    allow-bean-definition-overriding: true\r\n# feign开启setinel熔断降级\r\nfeign:\r\n  sentinel:\r\n    enabled: true\r\n\r\n\r\n# 暴露监控端点\r\nmanagement:\r\n  endpoints:\r\n    web:\r\n      exposure:\r\n        include: \'*\'\r\n\r\n\r\n\r\n# mybaits-plus配置\r\nmybatis-plus:\r\n  mapper-locations: classpath*:/mapper/*Mapper.xml\r\n  global-config:\r\n    banner: false\r\n    db-config:\r\n      id-type: auto\r\n      table-underline: true\r\n      logic-delete-value: 1\r\n      logic-not-delete-value: 0\r\n  configuration:\r\n    map-underscore-to-camel-case: true\r\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl', '153b75afcf543ced9bcf3509c147f699', '2010-05-05 00:00:00', '2020-07-18 16:36:51', NULL, '192.168.31.180', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 50, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\nspring:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/cup-cloud\r\n    username: root\r\n    password: root\r\n  security:\r\n    user:\r\n      name: admin\r\n      password: admin\r\n  main:\r\n    allow-bean-definition-overriding: true\r\n\r\n# feign开启setinel熔断降级\r\nfeign:\r\n  sentinel:\r\n    enabled: true\r\n\r\n\r\n# 暴露监控端点\r\nmanagement:\r\n  endpoints:\r\n    web:\r\n      exposure:\r\n        include: \'*\'\r\n\r\n\r\n\r\n# mybaits-plus配置\r\nmybatis-plus:\r\n  mapper-locations: classpath*:/mapper/*Mapper.xml\r\n  global-config:\r\n    banner: false\r\n    db-config:\r\n      id-type: auto\r\n      table-underline: true\r\n      logic-delete-value: 1\r\n      logic-not-delete-value: 0\r\n  configuration:\r\n    map-underscore-to-camel-case: true\r\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl', '590adbece355e3df981d8dbac8d285ac', '2010-05-05 00:00:00', '2020-07-18 17:07:06', NULL, '192.168.31.180', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 51, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\nspring:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/cup-cloud\r\n    username: root\r\n    password: root\r\n  security:\r\n    user:\r\n      name: admin\r\n      password: admin\r\n  main:\r\n    allow-bean-definition-overriding: true\r\n\r\n# feign开启setinel熔断降级\r\nfeign:\r\n  sentinel:\r\n    enabled: true\r\n\r\n# ribbon超时时间\r\nribbon:\r\n  ReadTimeout: 4000\r\n  ConnectTimeout: 4000\r\n\r\n\r\n# 暴露监控端点\r\nmanagement:\r\n  endpoints:\r\n    web:\r\n      exposure:\r\n        include: \'*\'\r\n\r\n\r\n\r\n# mybaits-plus配置\r\nmybatis-plus:\r\n  mapper-locations: classpath*:/mapper/*Mapper.xml\r\n  global-config:\r\n    banner: false\r\n    db-config:\r\n      id-type: auto\r\n      table-underline: true\r\n      logic-delete-value: 1\r\n      logic-not-delete-value: 0\r\n  configuration:\r\n    map-underscore-to-camel-case: true\r\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl', '5dca9b0a6ac056c6c7fba26c7c2c32ab', '2010-05-05 00:00:00', '2020-07-18 17:08:21', NULL, '192.168.31.180', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 52, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\nspring:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/cup-cloud\r\n    username: root\r\n    password: root\r\n  security:\r\n    user:\r\n      name: admin\r\n      password: admin\r\n  main:\r\n    allow-bean-definition-overriding: true\r\n\r\n# feign开启setinel熔断降级\r\nfeign:\r\n  sentinel:\r\n    enabled: true\r\n\r\n# ribbon超时时间\r\nribbon:\r\n  ReadTimeout: 2000\r\n  ConnectTimeout: 2000\r\n\r\n\r\n# 暴露监控端点\r\nmanagement:\r\n  endpoints:\r\n    web:\r\n      exposure:\r\n        include: \'*\'\r\n\r\n\r\n\r\n# mybaits-plus配置\r\nmybatis-plus:\r\n  mapper-locations: classpath*:/mapper/*Mapper.xml\r\n  global-config:\r\n    banner: false\r\n    db-config:\r\n      id-type: auto\r\n      table-underline: true\r\n      logic-delete-value: 1\r\n      logic-not-delete-value: 0\r\n  configuration:\r\n    map-underscore-to-camel-case: true\r\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl', '0dc7124e72d01f63a02a79333e378968', '2010-05-05 00:00:00', '2020-07-18 17:13:25', NULL, '192.168.31.180', 'U', '');
INSERT INTO `his_config_info` VALUES (48, 53, 'application-dev.yml', 'DEFAULT_GROUP', '', 'scope: public111\r\n\r\nspring:\r\n  datasource:\r\n    type: com.zaxxer.hikari.HikariDataSource\r\n    driver-class-name: com.mysql.cj.jdbc.Driver\r\n    url: jdbc:mysql://localhost:3306/cup-cloud\r\n    username: root\r\n    password: root\r\n  security:\r\n    user:\r\n      name: admin\r\n      password: admin\r\n\r\n\r\n# feign开启setinel熔断降级\r\nfeign:\r\n  sentinel:\r\n    enabled: true\r\n\r\n# ribbon超时时间,分别是设置的socketTimeout以及connectTimeout，创建请求的时候，会读取指定配置，没有的话，就取默认的配置，设置超时时间\r\nribbon:\r\n  ReadTimeout: 2000\r\n  ConnectTimeout: 2000\r\n\r\n\r\n# 暴露监控端点\r\nmanagement:\r\n  endpoints:\r\n    web:\r\n      exposure:\r\n        include: \'*\'\r\n\r\n\r\n\r\n# mybaits-plus配置\r\nmybatis-plus:\r\n  mapper-locations: classpath*:/mapper/*Mapper.xml\r\n  global-config:\r\n    banner: false\r\n    db-config:\r\n      id-type: auto\r\n      table-underline: true\r\n      logic-delete-value: 1\r\n      logic-not-delete-value: 0\r\n  configuration:\r\n    map-underscore-to-camel-case: true\r\n    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl', '5e78181f12e0b6d1a8d076b65c99dec3', '2010-05-05 00:00:00', '2020-07-18 17:14:06', NULL, '192.168.31.180', 'U', '');
INSERT INTO `his_config_info` VALUES (35, 54, 'gateway-dev.yml', 'DEFAULT_GROUP', '', 'spring:\n  cloud:\n    gateway:\n      routes:\n        # 用户模块\n        - id: user_route\n          uri: lb://user\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-user/**\n        # 商品模块\n        - id: product_route\n          uri: lb://product\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-product/**\n        # 订单模块\n        - id: order_route\n          uri: lb://order\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-order/**\n    # 阿里巴巴哨兵\n    sentinel:\n      transport:\n        dashboard: localhost:11000\n      scg:\n        fallback:\n          mode: response\n          response-status: 426\n          response-body: sentinel 服务降级', '59c5d53b88925f7b30a76f6dbda9bf08', '2010-05-05 00:00:00', '2020-07-18 17:25:50', NULL, '192.168.31.180', 'U', '');
INSERT INTO `his_config_info` VALUES (35, 55, 'gateway-dev.yml', 'DEFAULT_GROUP', '', 'spring:\n  cloud:\n    gateway:\n      routes:\n        # 用户模块\n        - id: user_route\n          uri: lb://user\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-user/**\n        # 商品模块\n        - id: product_route\n          uri: lb://product\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-product/**\n        # 订单模块\n        - id: order_route\n          uri: lb://order\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-order/**\n    # 阿里巴巴哨兵\n    sentinel:\n      transport:\n        dashboard: localhost:11000\n        sentinel:\n      # 取消sentinel控制台懒加载\n      eager: true\n      scg:\n        fallback:\n          mode: response\n          response-status: 426\n          response-body: sentinel 服务限流', '88ece148d6444ac9b0d83a530f30b65d', '2010-05-05 00:00:00', '2020-07-18 17:29:01', NULL, '192.168.31.180', 'U', '');
INSERT INTO `his_config_info` VALUES (35, 56, 'gateway-dev.yml', 'DEFAULT_GROUP', '', 'spring:\n  cloud:\n    gateway:\n      routes:\n        # 用户模块\n        - id: user_route\n          uri: lb://user\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-user/**\n        # 商品模块\n        - id: product_route\n          uri: lb://product\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-product/**\n        # 订单模块\n        - id: order_route\n          uri: lb://order\n          filters:\n            - StripPrefix=1\n          predicates:\n            - Path=/route-order/**\n    # 阿里巴巴哨兵\n    sentinel:\n      transport:\n        dashboard: localhost:11000\n        sentinel:\n      # 取消sentinel控制台懒加载\n      eager: true\n      scg:\n        fallback:\n          mode: response\n          response-status: 426\n          response-body: 接口被sentinel服务限流啦~~（若不满意，请到sentinel修改接口流控规则)', '82c349dde7ac5dfe123907992e58c5af', '2010-05-05 00:00:00', '2020-07-18 17:29:22', NULL, '192.168.31.180', 'U', '');
COMMIT;

-- ----------------------------
-- Table structure for roles
-- ----------------------------
DROP TABLE IF EXISTS `roles`;
CREATE TABLE `roles` (
  `username` varchar(50) NOT NULL,
  `role` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

-- ----------------------------
-- Records of roles
-- ----------------------------
BEGIN;
INSERT INTO `roles` VALUES ('nacos', 'ROLE_ADMIN');
COMMIT;

-- ----------------------------
-- Table structure for tenant_capacity
-- ----------------------------
DROP TABLE IF EXISTS `tenant_capacity`;
CREATE TABLE `tenant_capacity` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `tenant_id` varchar(128) COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'Tenant ID',
  `quota` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '配额，0表示使用默认值',
  `usage` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '使用量',
  `max_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '单个配置大小上限，单位为字节，0表示使用默认值',
  `max_aggr_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '聚合子配置最大个数',
  `max_aggr_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '单个聚合数据的子配置大小上限，单位为字节，0表示使用默认值',
  `max_history_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最大变更历史数量',
  `gmt_create` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '创建时间',
  `gmt_modified` datetime NOT NULL DEFAULT '2010-05-05 00:00:00' COMMENT '修改时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uk_tenant_id` (`tenant_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC COMMENT='租户容量信息表';

-- ----------------------------
-- Records of tenant_capacity
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for tenant_info
-- ----------------------------
DROP TABLE IF EXISTS `tenant_info`;
CREATE TABLE `tenant_info` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `kp` varchar(128) COLLATE utf8_bin NOT NULL COMMENT 'kp',
  `tenant_id` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT 'tenant_id',
  `tenant_name` varchar(128) COLLATE utf8_bin DEFAULT '' COMMENT 'tenant_name',
  `tenant_desc` varchar(256) COLLATE utf8_bin DEFAULT NULL COMMENT 'tenant_desc',
  `create_source` varchar(32) COLLATE utf8_bin DEFAULT NULL COMMENT 'create_source',
  `gmt_create` bigint(20) NOT NULL COMMENT '创建时间',
  `gmt_modified` bigint(20) NOT NULL COMMENT '修改时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `uk_tenant_info_kptenantid` (`kp`,`tenant_id`) USING BTREE,
  KEY `idx_tenant_id` (`tenant_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC COMMENT='tenant_info';

-- ----------------------------
-- Records of tenant_info
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for users
-- ----------------------------
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
  `username` varchar(50) NOT NULL,
  `password` varchar(500) NOT NULL,
  `enabled` tinyint(1) NOT NULL,
  PRIMARY KEY (`username`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

-- ----------------------------
-- Records of users
-- ----------------------------
BEGIN;
INSERT INTO `users` VALUES ('nacos', '$2a$10$EuWPZHzz32dJN7jexM34MOeYirDdFAZm2kuWj7VEOJhhZkDrxfvUu', 1);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
